* m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
authorJim Blandy <jimb@redhat.com>
Thu, 11 Mar 1993 07:08:47 +0000 (07:08 +0000)
committerJim Blandy <jimb@redhat.com>
Thu, 11 Mar 1993 07:08:47 +0000 (07:08 +0000)
need to include `-lPW'; that has been merged with `-lc'.

src/m/intel386.h

index 939bf9b81da1bc7b0aeaca80dec7ab1b1b8c0623..254213379dd17464b8da032eb16edc075e8e52f5 100644 (file)
@@ -154,14 +154,20 @@ NOTE-END */
 #define LIB_STANDARD /lib/386/Slibcfp.a /lib/386/Slibc.a
 #else /* not XENIX */
 
+/* this brings in alloca() if we're using cc */
 #ifdef USG
 #ifndef LIB_STANDARD
+#ifdef USG5_4
+#define LIB_STANDARD -lc
+#else /* not USG5_4 */
 #define LIB_STANDARD -lPW -lc
-#endif
+#endif /* not USG5_4 */
+#endif /* LIB_STANDARD */
+
 #define HAVE_ALLOCA
 #define NO_REMAP 
 #define TEXT_START 0
-#endif /* USG */
+#endif /* not USG */
 #endif /* not XENIX */
 
 #ifdef BSD